// svg组件
const svgList = {
  kongxinyuan: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-2" transform="translate(-6818 -1277)">
            <path
              id="椭圆_173"
              data-name="椭圆 173"
              d="M4,1A3,3,0,1,0,7,4,3,3,0,0,0,4,1M4,0A4,4,0,1,1,0,4,4,4,0,0,1,4,0Z"
              transform="translate(6819 1278)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
  qiantaoyuan: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-3" transform="translate(-6638 -1367)">
            <g id="组_9520" data-name="组 9520">
              <path
                id="椭圆_182"
                data-name="椭圆 182"
                d="M4,1A3,3,0,1,0,7,4,3,3,0,0,0,4,1M4,0A4,4,0,1,1,0,4,4,4,0,0,1,4,0Z"
                transform="translate(6639 1368)"
                fill="var(--inbiz-color-primary)"
              />
              <g
                id="椭圆_185"
                data-name="椭圆 185"
                transform="translate(6641 1370)"
                fill="var(--inbiz-color-primary)"
                stroke="var(--inbiz-color-primary)"
                stroke-width="1"
              >
                <circle cx="2" cy="2" r="2" stroke="none" />
              </g>
            </g>
          </g>
        </svg>
      </>
    );
  },
  shixinjiantou: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-6" transform="translate(-6728.5 -1536)">
            <path
              id="路径_37929"
              data-name="路径 37929"
              d="M62.39,62.39l9,4-9,4,2.769-4Z"
              transform="translate(6666.61 1474.61)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
  shixinlingxing: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-5" transform="translate(-6811.636 -1435)">
            <rect
              id="矩形_4057"
              data-name="矩形 4057"
              width="7"
              height="7"
              rx="1.5"
              transform="translate(6811.687 1440) rotate(-45)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
  shixinxinxing: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-7" transform="translate(-6759 -1541.5)">
            <path
              id="路径_37930"
              data-name="路径 37930"
              d="M213.416,208.916a6.354,6.354,0,0,1-4.5-4.5,6.354,6.354,0,0,1-4.5,4.5,6.354,6.354,0,0,1,4.5,4.5,6.354,6.354,0,0,1,4.5-4.5Z"
              transform="translate(6555.084 1337.584)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
  shixinyuan: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 10 10">
          <g id="symbol-1" transform="translate(-6728 -1277)">
            <circle
              id="椭圆_170"
              data-name="椭圆 170"
              cx="4"
              cy="4"
              r="4"
              transform="translate(6729 1278)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
  shixinzhengfangxing: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-4" transform="translate(-6728 -1367)">
            <rect
              id="矩形_4055"
              data-name="矩形 4055"
              width="7"
              height="7"
              rx="1.5"
              transform="translate(6729.5 1368.5)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
  xuanzhong: () => {
    return (
      <>
        <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
          <g id="symbol-8" transform="translate(-6818.75 -1537)">
            <path
              id="路径_37928"
              data-name="路径 37928"
              d="M21.3,9.025a52.305,52.305,0,0,1,3-4.879A28.435,28.435,0,0,1,27.075.871L26.754,0A24.49,24.49,0,0,0,23.44,2.755,23.476,23.476,0,0,0,20.778,6.12L18.5,4.049l-.93.962Z"
              transform="translate(6801.425 1537.488)"
              fill="var(--inbiz-color-primary)"
            />
          </g>
        </svg>
      </>
    );
  },
};

const TitleLogo = (props: { listLogo: string }) => {
  const { listLogo } = props;
  return svgList[listLogo]?.();
};

export default TitleLogo;
